<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
    metal:define-macro="main_template">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" tal:attributes="href string:${here/site_url}/resources/master.css" type="text/css" media="screen" charset="utf-8" />
	<link rel="stylesheet" tal:attributes="href string:${here/site_url}/resources/custom.css" type="text/css" media="screen" charset="utf-8" />
    <link rel="stylesheet" tal:attributes="href string:${here/site_url}/resources/tabs.css" type="text/css" media="screen" charset="utf-8" media="screen" />
    <link rel="stylesheet" tal:attributes="href string:${here/site_url}/resources/print.css" type="text/css" media="print" charset="utf-8" media="print" />
    <!-- <script tal:attributes="src string:${here/site_url}/resources/mapper.js" type="text/javascript" charset="utf-8"></script> -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
    <script tal:attributes="src string:${here/site_url}/resources/jquery.tools.min.js" type="text/javascript" charset="utf-8"></script>
    <script tal:attributes="src string:${here/site_url}/resources/jquery.corners.min.js" type="text/javascript" charset="utf-8"></script>
    <title>District Dollars: <tal:insert tal:replace="template/title">Revenue</tal:insert></title>

    <script type="text/javascript">
    var dd = {};
    $(function() {
        // tab setup
        $("ul.tabs").tabs("div.panes > div");

        // courner rounding
        $('.rounded').corners('8px');

        $(".ovl").overlay();
        
        // cookie management        
        dd.createCookie = function (name,value,days,domain) {
            if (days) {
                var date = new Date();
                date.setTime(date.getTime()+(days*24*60*60*1000));
                var expires = "; expires="+date.toGMTString();
            } else {
                expires = "";
            }
            var cookie = name+"="+escape(value)+expires+"; path=/;";
            if (domain) {
                cookie = cookie+' domain='+domain+';';
            }
            document.cookie = cookie;
        };
        dd.readCookies = function () {
            var ca, i, ck;
            
            dd.cookies = {}
            ca = document.cookie.split('; ')
            for (i=0;i<ca.length;i++) {
                ck = ca[i].split('=');
                dd.cookies[ck[0]] = ck[1];
            }
        };
        dd.readCookies();

        if (($('body#welcome').length==0) && 
           dd.cookies.hasOwnProperty('dduid') && 
           ! dd.cookies.hasOwnProperty('dddemog')) {
            $("#ddtrigger").overlay({
                onClose: function () {dd.createCookie('dddemog', 'done', 365);}
            });
            setTimeout( function() {
                $('#ddtrigger').click();
            }, 5);
        }

        $('#ddpoll').submit(function() {
            $('div#dddemog div.close').click();
            $.post('saveDemographics', $('#ddpoll').serialize());
            return false;
        });


        $('#txtarget').click(function () {
            $('option[value=es]').attr('selected','1');
            return true;
        });

        $('#ddfeedback').submit(function() {
            $('div#ddfeedback div.close').click();
            $.post('mailFeedback', $('#ddfb').serialize());
            return false;
        });
        
        $('a[target=_blank]').click(function (event) {
            var xurl = $(this).attr('href');
            var width = screen.availWidth*3/4;
            var height = screen.availHeight*3/4;
            var left = parseInt((screen.availWidth/2) - (width/2));
            var top = parseInt((screen.availHeight/2) - (height/2));
            var windowFeatures = "width=" + width + ",height=" + height + ",status,scrollbars,resizable,left=" + left + ",top=" + top + "screenX=" + left + ",screenY=" + top;
            myWindow = window.open(xurl, "subWind", windowFeatures);
            return false;
        });
    });
    var clicktab = function (target) {
        $('ul.tabs li a').eq(target).click();
        return false;
    };
    </script>

    <metal:block metal:define-slot="head_slot"></metal:block>

</head>
<body tal:attributes="id template/getId" tal:define="uid here/getCookie">

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-4504747-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);    
  })();
</script>

<div style="height:1em;width:960px;margin:0.25em auto 0;" class="noprint" tal:condition="python:request.get('HTTP_VIA', '').find('translate') &lt; 0"><div style="float:right;font-size:small">
    View this site in <a href="http://translate.google.com/translate?hl=es&sl=en&tl=es&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">Spanish</a>, <a href="http://translate.google.com/translate?hl=ko&sl=en&tl=ko&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">Korean</a>, <a href="http://translate.google.com/translate?hl=zh-CN&sl=en&tl=zh-CN&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">Chinese</a>, <a href="http://translate.google.com/translate?hl=ja&sl=en&tl=ja&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">Japanese</a>, <a href="http://translate.google.com/translate?hl=ru&sl=en&tl=ru&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">Russian</a>, <a href="http://translate.google.com/translate?hl=en&sl=en&tl=hi&u=http%3A%2F%2Fwww.districtdollars.org%2Fwelcome">or other languages</a>.
</div></div>

<div id="vwrapper">
    
    <div id="banner">
        <img src="district-dollars.jpg" width="940" height="136" alt="District Dollars: Balancing the Budget for Davis Schools">
    </div>

    <ul id="mainmenu" class="noprint">
        <li class="welcome"><a href="welcome">Welcome</a></li>
        <li class="budget"><a href="budget">The Funding Gap</a></li>
        <li class="options"><a href="options">Options for Closing the Gap</a></li>
        <li class="plan"><a href="plan">Superintendent's Proposal</a></li>
        <li class="values"><a href="yourvalues">What Do You Value?</a></li>
        <li class="action"><a href="action">Actions You Can Take</a></li>
    </ul>
    
    <div class="clearboth"></div>

    <metal:block metal:define-slot="top_slot"></metal:block>

    <h1 tal:content="template/title" metal:define-slot="headline_slot">The Funding Gap</h1>

    <div id="cwrapper" metal:define-slot="content">
        Content
    </div>

    <div class="clearboth"></div>

    <div metal:define-slot="nav_left" class="noprint"></div>
    <div metal:define-slot="nav_right" class="noprint"></div>

    <div style="text-align:center;width:80%;font-size:small;margin:0 auto 1em">
        <img src="djusd.png" width="91" height="81" alt="DJUSD Logo" title="Davis Joint Unified School District" class="noprint" /><br />
        Davis Joint Unified School District<br />
        Dr. J. Quezon Hammond &middot; Superintendent<br />
        526 B Street &middot; Davis, CA  95616 &middot; 530-757-5300 &middot; <a href="http://www.djusd.net" target="_blank">www.djusd.net</a>
        <div>
            <a class="ovl" href="#" rel="#ecredits">District Dollars is a collaborative project of the Davis Joint Unified School District and community volunteers.</a><br />
            <a href="#" rel="#ddfeedback" class="ovl">Please, tell us how to improve District Dollars.</a>
        </div>
    </div>

</div>

<div class="simple_overlay noprint" id="ecredits"> 
    <h2>Thank you to those who developed District Dollars!</h2>

    <p>Community volunteers:</p>
    
    
<ul>
    <li>Davis Campbell, <a target="_blank" href="http://www.stuartfoundation.org/Home.aspx">Stuart Foundation</a></li>
    <li>Tsui Chang, <a target="_blank" href="http://www.dcn.org">Davis Community Network</a></li>
    <li>Mike Harty</li>
    <li>Katherine Heck</li>
    <li>Maria Mindlin, <a target="_blank" href="http://www.transcend.net/">Transcend Translations</a></li>
    <li>Richard Reed</li>
    <li>Steve McMahon, <a target="_blank" href="http://www.reidmcmahon.com/">Reid-McMahon, LLC</a> </li>
    <li>Dan Troy</li>
    <li>Jay Ziegler, <a target="_blank" href="http://www.zieglerassociates.net/">Ziegler Associates</a></li>
</ul>

    <p>Davis Joint Unified School District staff:</p>
<ul>
    <li>James Hammond, Superintendent</li>
    <li>Bruce Colby, Associate Superintendent of Business Services</li>
    <li>Bob Kehr, Director of Technology</li>
</ul>
    <p>DJUSD Board of Education:</p>
<ul>
    <li>Tim Taylor, President</li>
    <li>Richard Harris, Vice President/Clerk</li>
    <li>Sheila Allen</li>
    <li>Gina Daleiden</li>
    <li>Susan Lovenburg</li>
</ul>
    <p>Thanks to Richard Reed for the photographs of Davis school artwork.</p>
    <p>Thank you to the <a target="_blank" href="http://www.dcn.org/">Davis Community Network</a> for their support of this project, and the <a target="_blank" href="http://www.stuartfoundation.org/Home.aspx">Stuart Foundation</a> for their supporting grant.</p>
</div>    

<tal:block tal:condition="not:request/cookie/dddata | nothing">
    <a rel="#dddemog" id="ddtrigger" style="display:none">trigger</a>
    <div id="dddemog" class="simple_overlay noprint">
        <h2>Thank you for participating in District Dollars</h2>

        <p>Completing the program takes as little as 15 minutes.  We will not collect any information without your knowledge.</p>

        <p>Before we begin, please tell us about yourself.  Pick the ONE that best defines you:</p>

        <form id="ddpoll" method="PUT">
            <p><input type="radio" name="ddwho" value="student" id="ddDJUSD_student" /> <label for="ddDJUSD_student">DJUSD student</label></p>
            <p><input type="radio" name="ddwho" value="parent" id="ddDJUSD_parent_guardian" /> <label for="ddDJUSD_parent_guardian">DJUSD parent/guardian</label></p>
            <p><input type="radio" name="ddwho" value="employee" id="ddDJUSD_employee" /> <label for="ddDJUSD_employee">DJUSD employee</label></p>
            <p><input type="radio" name="ddwho" value="community" id="ddDavis_community_member" /> <label for="ddDavis_community_member">Davis community member</label></p>
            <p><input type="radio" name="ddwho" value="other" id="ddOther" /> <label for="ddOther">Other:</label> <input type="text" name="dopen" id="dopen" maxlength="255" /></p>
            <input type="submit" name="ddsubmit" id="ddsubmit" value="Continue with District Dollars" />
        </form>
    </div>
</tal:block>

<tal:block tal:condition="nothing">
<script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
  var gdiv = jQuery('#google_translate_element > div');
  var gis = gdiv.children('div').remove();
  gdiv.html('');
  gdiv.prepend(gis);
  $('#google_translate_element').show();
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
</tal:block>

<div id="ddfeedback" class="simple_overlay noprint">
    <h2>District Dollars Feedback</h2>

    <h3>How may we improve DistrictDollars.org?</h3>

    <form id="ddfb" method="PUT">
        <p><label for="subject">Subject</label><br /><input type="text" name="fbsubject" value="" id="fbsubject" size="40" /></p>
        <p><label for="comments">Suggestion</label><br /><textarea id="suggestion" name="suggestion" cols="80" rows="8"></textarea></p>
        <p><label for="email">Your Email Address</label> (optional, only required if you want a reply)<br /><input type="text" name="email" value="" id="email" size="40" /></p>
        <input type="submit" name="submit" id="submit" value="Submit your suggestion" />
    </form>
</div>

</body>
</html>